package reduce.fz.com.reduce.custom;

import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.TypedArray;
import android.os.Build;
import android.util.AttributeSet;
import android.widget.RelativeLayout;
import android.widget.TextView;

import reduce.fz.com.reduce.R;

/**
 * Created by qingshengzheng on 15/6/29.
 */
public class RelTab extends RelativeLayout {
    /**
     * tab选项描述
     */
    private TextView title;
    /**
     * 下划线
     */
    private TextView line;

    public RelTab(Context context) {
        super(context);
    }

    public RelTab(Context context, AttributeSet attrs) {
        super(context, attrs);
        TypedArray a=context.obtainStyledAttributes(attrs, R.styleable.RelTab);
       // String text=a.getString();
        int textColor=a.getColor(R.styleable.RelTab_textColor,0XFFFFFFFF);
        int textSize=a.getInt(R.styleable.RelTab_textSize,10);



    }


}
